package com.sqx.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 数据字典
 *
 */
@Data
@TableName("sys_dict")
public class SysDictEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId
	@ApiModelProperty("字典id")
	private Long id;
	/**
	 * 字典名称
	 */
	@ApiModelProperty("字典名称")
	private String name;
	/**
	 * 字典类型
	 */
	@ApiModelProperty("字典类型")
	private String type;
	/**
	 * 字典码
	 */
	@ApiModelProperty("字典码")
	private String code;
	/**
	 * 字典值
	 */
	@ApiModelProperty("字典值")
	private String value;
	/**
	 * 排序
	 */
	@ApiModelProperty("排序")
	private Integer orderNum;
	/**
	 * 备注
	 */
	@ApiModelProperty("备注")
	private String remark;
	/**
	 * 父级id
	 */
	@ApiModelProperty("父级id")
	private Long parentId;

}
